import Vue from 'vue';
import VueRouter from 'vue-router';
import Login from '../components/Login.vue';
import ModelProviders from '../components/ModelProviders.vue';

Vue.use(VueRouter);

const routes = [
    {
        path: '/',
        name: 'Login',
        component: Login
    },
    {
        path: '/model-providers',
        name: 'ModelProviders',
        component: ModelProviders
    }
];

const router = new VueRouter({
    mode: 'history',
    routes
});

export default router;